﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
    public class CashBankOut
    {

        public CashBankOut()
        {
            CashBankOutDetails = new List<CashBankOutDetail>();
        }

        public virtual String NoVoucher { get; set; }
        public virtual DateTime Tanggal { get; set; }
        public virtual COA CashBankAccount { get; set; }
        public virtual String Description { get; set; }
        public virtual IList<CashBankOutDetail> CashBankOutDetails { get; set; } 

    }


    public class CashBankOutDetail
    {
        public virtual Guid CashBankInDetailId { get; set; }
        public virtual CashBankOut CashBankOut { get; set; }
        public virtual PurchaseInvoice PurchaseInvoice { get; set; }
        public virtual COA ToAccount { get; set; }
        public virtual Decimal Debit { get; set; }
        public virtual Decimal Kredit { get; set; }
        public virtual Departemen Departemen { get; set; }
        public virtual Supplier Supplier { get; set; }
        public virtual String Description { get; set; }
    }
    
}
